<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
	<div id="app">
		<!-- 获取对象 -->
		{{student}}
		<!-- 获取对象中的数据 -->
		{{student.name}}
		{{student.age}}
	</div>

	<script src="../js/vuejs-2.5.16.js" type="text/javascript" charset="utf-8"></script>

	<script type="text/javascript">
		const vue = new Vue({
			el: "#app",
			data: {
				student: {
					name: "zhangsan",
					age: 18
				}
			}
		})
	</script>
</body>
</html>
